package com.harr.noddles.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.harr.noddles.conf.AppProperties;

@RestController
@RequestMapping("/api/prop")
public class Properties {
	
	@Autowired
	private AppProperties appProperties;

	@GetMapping("/get")
	public AppProperties get() {
		return appProperties;
	}
}
